* {
    margin: 0;
    padding: 0;
    list-style: none;
}
.header{
    display: flex;
    width: 1100px;
    height: 80px;
    margin: 0 auto;
    /* border: 1px solid red;  */
    justify-content: space-between;
    align-items: flex-end;
    /* 为了给arrow添加相对定位 */
    position: relative;
}

header .nav {
    display: flex;
    width: 500px;
    /* border: 1px solid red; */
    justify-content: space-between;
}

header .arrow {
    position: absolute;
    width: 21px;
    height: 11px;
    background-image: url("../images/menuIndicator.png");
    bottom: -11px;
    left: 550px;
    z-index: 9999;

}

header .nav li {
    width: 100px; 
    margin-bottom: 5px;
    text-align: center;
}

.conten {
    height: 500px;
    background-color: #333;
    overflow:hidden ;
}
header .nav a  {
    text-decoration: none;
    color: rgb(255, 141, 26);
}

header .nav a img:nth-child(2) {
    display: none;
}

#conten {
    height: 800px;
    position: relative;
    overflow: hidden
    
    
    ;
}

#conten>ul.list {
    position: absolute;
    width: 100%;
}

/* li标签的背景 */
#conten>ul.list>li {
    background-image: url(.././../龙蛋的素材库/OIP\ \(2\).jpg);
    height: 800px;
    width: 100%;
    background-size: cover;
    position: relative;
}

/* 轮播图效果图 */
#conten>ul.list>li>div{
    position:absolute;
    width: 1100px;
    height: 520px;
    border: 1px solid orange;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* 第一屏幕轮播 */
#conten>.list>.home .swiper{
    width: 1100px;
    height: 520px;

}
#conten>.list>.home>.swiper>.swiper-wrapper img {
    width: 1100px;
    height: 520px;
    overflow: hidden;
}

/* 第二屏幕 历史的样式 */

#conten>.list>.history>div{
    display: flex;
    justify-content: space-around;
    border-radius: 20px;

}
/* 左侧文本 */
#conten>.list>.history>div>.test{
    margin-top: 50px;
    width: 400px;
    font-family: '隶书';
    color: red;
}
#conten>.list>.history>div>.test>.headTest{
    font-size: 30px;
    color: red;
    font-family: '楷书';
}

/* 右侧图片 */
#conten>.list>.history>div>.pice {
    width: 650px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    perspective: 1000px;
    
}

#conten>.list>.history>div>.pice>.item {
    width: 180px;
    height: 180px;
    /* 完成3d效果 规范去掉 */
    /* border: 1px solid red; */
    position: relative;
    transform-style: preserve-3d;
}

#conten>.list>.history>div>.pice>.item>.fonnt{
    position: absolute;
    width: 180px;
    height: 180px;
    background-color: coral;
    font-size: 30px;
    color: #ccc;
    /* 弹性布局对其 */
    justify-content: center;
    align-items: center;
    transition: 1s all;
    display: flex;
}

#conten>.list>.history>div>.pice>.item>.back{
    position: absolute;
    width: 180px;
    height: 180px;
    transform:rotateY(180deg) ;
    backface-visibility: hidden;
    transition: 1s all;


}
#conten>.list>.history>div>.pice>.item>.back>img{
    width: 100%;
    height: 100%;
}
#conten>.list>.history>div>.pice>.item:hover>.fonnt{
    transform:rotateY(180deg) ;
}
#conten>.list>.history>div>.pice>.item:hover>.back{
    transform:rotateY(360deg) ;
}

/* 第三屏的样式 */
#conten>.list>.food>div>.text{
    font-size: 30px;
    color: #ccc;
    margin: 30px;
    font-family: '隶书';
}

/* 图片容器 */
#conten>.list>.food>div>.pice{
    position:relative;
    width: 1100px;
    border: 1px solid black;
    display:flex ;
    flex-wrap: wrap;
    justify-content: space-around
}
/* 图片单元 */
#conten>.list>.food>div>.pice>.item{
    width: 330px;
    height: 200px;
    position: relative;
    border: 1px solid green;
    margin-bottom: 10px;
    overflow: hidden;
}

/* 图片 */
#conten>.list>.food>div>.pice>.item>img{
    position: absolute;
    width: 330px;
    height: 200px;
    transition: 1s all;

}
/* 蒙版 */
#conten>.list>.food>div>.pice>.item>.mask{
    position: absolute;
    width: 330px;
    height: 200px;
    font-style: 30px;
    color: #ccc;
    background-color: rgba(0,0,0,);
    padding: 30px;
    box-sizing: border-box;
    top: -200px;
}
/* 放大镜图标 */
#conten>.list>.food>div>.pice>.item>.icon{
    width: 32px;
    height: 34px;
    position:absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-image: url(../images/zoomico.png);
    opacity: 0;
    transition: 1s all;
    cursor: pointer;
}
/* 图片旋转 */
#conten>.list>.food>div>.pice>.item:hover img
{
    transform: scale(1.4) rotateZ(30deg);
}
/* 鼠标进入下拉蒙版 */
#conten>.list>.food>div>.pice>.item:hover .mask{
    top: 0;
}
#conten>.list>.food>div>.pice>.item:hover .icon{
    opacity: 1;
}
#conten>.list>.food>div>.pice>.item>.icon:hover{
    background-position: 0 -34;
}
